angular.module('ad_serviceApp', [
    'ui.router',
    'angularUtils.directives.dirPagination',
    'app.filter',
    'service.ad_service',
    'ad_service.menu',
    'entrance.module.model',
    'ad_service.making',
    'ad_service.operating',
    'ad_service.photography',
    'ad_service.marketing',
    'service_class.rczp',
    'service_class.wpzr',
    'service_class.ccsb',
    'restaurant.meal',
    'service.restaurant',
    'service.serviceClass',
    'brand.ppjm',
    'service_card.fwk',
    'store_decoration.mdzx',
])
    .run(
    [          '$rootScope', '$state', '$stateParams',
        function ($rootScope,   $state,   $stateParams) {
            $rootScope.$state = $state;
            $rootScope.$stateParams = $stateParams;
        }
    ]
)

    .config(
    [          '$stateProvider', '$urlRouterProvider','$locationProvider',
        function ($stateProvider,   $urlRouterProvider,$locationProvider) {
            $urlRouterProvider
                .otherwise('/menu');
        }
    ]
);